import datetime
import time


def get_current_timestamp():
    timestamp = int(time.time())

    return timestamp


def get_current_timestamp_ms():
    datetime_object = datetime.datetime.now()
    now_timetuple = datetime_object.timetuple()
    now_second = time.mktime(now_timetuple)
    mow_millisecond = int(now_second*1000 + datetime_object.microsecond/1000)
    return mow_millisecond


def current_datetime() -> datetime:
    return datetime.datetime.now()
